package com.zyf.chapter01.principle.LOD;

import com.zyf.chapter01.principle.LOD.refactor.Deserializable;

/**
 * 仅仅使用了反序列化
 * 满足接口隔离原则
 * 满足基于接口而非实现编程
 * @author yifeng
 */
public class DemoClass_2 {
    private Deserializable deserializer;

    public DemoClass_2(Deserializable deserializer) {
        this.deserializer = deserializer;
    }
}
